package com.meowcook.dao;

import com.meowcook.pojo.po.Members;

import java.util.ArrayList;

public interface MembersMapper {
    int insert(Members row);

    int insertSelective(Members row);

    Members selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Members row);

    int updateByPrimaryKey(Members row);

    ArrayList<Long> selectUserIdsBySessionId(Long sessionId);

    int updateInfoRecordBySessionId(Long sessionId, Long messageId);

    Members selectUncheckNum(Long userId, Long sessionId);

    String selectInfoRecord(Long userId, Long sessionId);

    int updateUncheckNum(Long id, Long sessionId, Integer uncheckNum);

    int changeInfoRecordBySessionId(Long userId, Long sessionId, String newRecord);
}